package com.hzhr.iot.device.model.regulatorDevice_maintenanceCard;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.device.entity.DeviceMaintenanceCardEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "RegulatorDevice_MaintenanceCardModel", description = "调压设备的维护卡片模型")
@CygModel(entity = DeviceMaintenanceCardEntity.class)
public class RegulatorDevice_MaintenanceCardModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 设备编号(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "deviceId")
    private Integer deviceId;
    @ApiModelProperty(value = "说明 : 年度(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "year")
    private Integer year;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }
}
